package com.app.model.bean;

import java.io.Serializable;

/**
 * 平台使用记录
 */

public class Record implements Serializable {

    // 记录ID
    private String id;
    // 车辆信息
    private Bike bike;
    // 操作类型（例如：分享密码，密码错误上报，获取密码）
    private int action;
    // 操作时间
    private long time;

    public static final int ACTION_SHARE_PWD = 1;
    public static final int ACTION_WRONG_PWD = 2;
    public static final int ACTION_GET_PWD = 3;

    public Record() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Bike getBike() {
        return bike;
    }

    public void setBike(Bike bike) {
        this.bike = bike;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
